package cn.jinjimi.app.entity;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by Roy
 * Date: 16/8/19
 */
public class Advertisement {

    @SerializedName("advertisementsPlanId")
    public long advertisementsPlanId;

    @SerializedName("title")
    public String title;

    @SerializedName("resource_list")
    public List<Resource> resources;

    @SerializedName("id")
    public long id;

    @SerializedName("started_time")
    public long startedTime;

    @SerializedName("ended_time")
    public long endedTime;

    public class Resource {
        @SerializedName("attchments")
        public List<Attachment> attchments;

        @SerializedName("origin_url")
        public String linkUrl;
    }

    public class Attachment {
        @SerializedName("file")
        public String imgUrl;
    }

    public boolean isShow = false;
}
